Skip to main content

mobileStandaloneSaved

Type

message

Summary

Sent to the mainstack after it has been saved as a mobile standalone application or the simulation was started.

Syntax

mobileStandaloneSaved <pTargetType>, <pAppBundle>

Description

After a mobile stack has been saved as a standalone application it is reopened. This message is then sent to the mainstack to allow custom build time automation.

Parameters

NameTypeDescription

pTargetType

enum

pAppBundle

A string variable containing the folder that the mobile standalone application was saved in. This is empty if the build failed.

Examples

on mobileStandaloneSaved pTarget, pFolder
get shell("hdiutil create -fs HFS+ -volname MyApp"&\
" -size 100m ~/Desktop/MyApp.dmg")
get shell("hdiutil mount ~/Desktop/MyApp.dmg")
get shell("ditto -rsrc -V "&pFolder&" /Volumes/MyApp"&\
" &gt;&gt; /Volumes/Backup/MyApp.log")
get shell("hdiutil unmount /Volumes/MyApp")
get shell("hdiutil burn ~/Desktop/MyApp.dmg"& \
" -noverifyburn -noeject")
end mobileStandaloneSaved

message: savingStandalone, standaloneSaved, savingMobileStandalone

Compatibility and Support

Introduced

LiveCode 5.5.3

OS

ios

android

Platforms

desktop

server

Thank you for your feedback!

Was this page helpful?